//
//  SportMomentResponse.swift
//  Kosspot
//
//  Created by 李鑫 on 2025/7/8.
//

import Foundation

struct SportMomentResponse: BaseResponseProtocol {
    let code: Int
    let msg: String
    let data: [DynamicItem]?
}

struct DynamicItem: Decodable, Hashable {
    let userId: Int
    let dynamicId: Int
    let content: String
    let address: String?
    let mediaUrls: [String]
    let createTime: Int64
    let avatar: String?
    let nickname: String
    var likeCount: Int
    let commentCount: Int
    var liked: Bool
    
//    enum CodingKeys: String, CodingKey {
//        case userId, dynamicId, content, address, mediaUrls, createTime, avatar, nickname, likeCount, commentCount, liked
//    }
}
